package gov.chinatax.ctcps.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="XTGL_DWJBXX"
 *     
*/
public class XtglDwjbxx implements Serializable {

    /** identifier field */
    private String dwbh;

    /** persistent field */
    private String dwysm;

    /** persistent field */
    private String dwmc;

    /** nullable persistent field */
    private String dwjc;

    /** nullable persistent field */
    private String gbm;

    /** persistent field */
    private String ysjcDm;

    /** nullable persistent field */
    private String sjdwbh;

    /** nullable persistent field */
    private String xzqhDm;

    /** nullable persistent field */
    private String dwdz;

    /** nullable persistent field */
    private String yzbm;

    /** nullable persistent field */
    private String dwfzr;

    /** nullable persistent field */
    private String shr;

    /** nullable persistent field */
    private String cwfzr;

    /** nullable persistent field */
    private String cwfzrDh;

    /** nullable persistent field */
    private String dwlxr;

    /** nullable persistent field */
    private String dwlxrDh;

    /** nullable persistent field */
    private String zhmc;

    /** nullable persistent field */
    private String khyh;

    /** nullable persistent field */
    private String lyezh;

    /** nullable persistent field */
    private String dwjbjg;

    /** nullable persistent field */
    private String yhkhsqjbr;

    /** nullable persistent field */
    private String khsqjbrDh;

    /** nullable persistent field */
    private String bz;

    /** nullable persistent field */
    private String dwztBt;

    /** nullable persistent field */
    private String xtdwBz;

    /** nullable persistent field */
    private String zt1;

    /** nullable persistent field */
    private String zt2;
    
    /** nullable persistent field */
    private String ybazhxz;
    
    /** nullable persistent field */
    private String sfybrmyhba;

    /** nullable persistent field */
    private String ysbzxtYsm;
    /** nullable persistent field */
    private String ysbzxtGbm;
    
    private String xgzfzbBz;
    
    private String yhlx;


	/** full constructor */
    public XtglDwjbxx(String dwbh, String dwysm, String dwmc, String dwjc, String gbm, String ysjcDm, String sjdwbh, String xzqhDm, String dwdz, String yzbm, String dwfzr, String shr, String cwfzr, String cwfzrDh, String dwlxr, String dwlxrDh, String zhmc, String khyh, String lyezh, String dwjbjg, String yhkhsqjbr, String khsqjbrDh, String bz, String dwztBt, String xtdwBz, String zt1, String zt2, String ybazhxz, String sfybrmyhba,String ysbzxtYsm,String ysbzxtGbm,String xgzfzbBz) {
        this.dwbh = dwbh;
        this.dwysm = dwysm;
        this.dwmc = dwmc;
        this.dwjc = dwjc;
        this.gbm = gbm;
        this.ysjcDm = ysjcDm;
        this.sjdwbh = sjdwbh;
        this.xzqhDm = xzqhDm;
        this.dwdz = dwdz;
        this.yzbm = yzbm;
        this.dwfzr = dwfzr;
        this.shr = shr;
        this.cwfzr = cwfzr;
        this.cwfzrDh = cwfzrDh;
        this.dwlxr = dwlxr;
        this.dwlxrDh = dwlxrDh;
        this.zhmc = zhmc;
        this.khyh = khyh;
        this.lyezh = lyezh;
        this.dwjbjg = dwjbjg;
        this.yhkhsqjbr = yhkhsqjbr;
        this.khsqjbrDh = khsqjbrDh;
        this.bz = bz;
        this.dwztBt = dwztBt;
        this.xtdwBz = xtdwBz;
        this.zt1 = zt1;
        this.zt2 = zt2;
        this.ybazhxz = ybazhxz;
        this.sfybrmyhba = sfybrmyhba;
        this.ysbzxtGbm = ysbzxtGbm;
        this.ysbzxtYsm = ysbzxtYsm;
        this.xgzfzbBz = xgzfzbBz;
    }

    
    
    /** default constructor */
    public XtglDwjbxx() {
    }

    
    /** minimal constructor */
    public XtglDwjbxx(String dwbh, String dwysm, String dwmc, String ysjcDm) {
        this.dwbh = dwbh;
        this.dwysm = dwysm;
        this.dwmc = dwmc;
        this.ysjcDm = ysjcDm;
    }

    
    public String getYhlx() {
		return yhlx;
	}



	public void setYhlx(String yhlx) {
		this.yhlx = yhlx;
	}



	/** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.String"
     *             column="DWBH"
     *         
     */
    public String getDwbh() {
        return this.dwbh;
    }

    public void setDwbh(String dwbh) {
        this.dwbh = dwbh;
    }

    /** 
     *            @hibernate.property
     *             column="DWYSM"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getDwysm() {
        return this.dwysm;
    }

    public void setDwysm(String dwysm) {
        this.dwysm = dwysm;
    }

    /** 
     *            @hibernate.property
     *             column="DWMC"
     *             length="80"
     *             not-null="true"
     *         
     */
    public String getDwmc() {
        return this.dwmc;
    }

    public void setDwmc(String dwmc) {
        this.dwmc = dwmc;
    }

    /** 
     *            @hibernate.property
     *             column="DWJC"
     *             length="80"
     *         
     */
    public String getDwjc() {
        return this.dwjc;
    }

    public void setDwjc(String dwjc) {
        this.dwjc = dwjc;
    }

    /** 
     *            @hibernate.property
     *             column="GBM"
     *             length="50"
     *         
     */
    public String getGbm() {
        return this.gbm;
    }

    public void setGbm(String gbm) {
        this.gbm = gbm;
    }

    /** 
     *            @hibernate.property
     *             column="YSJC_DM"
     *             length="2"
     *             not-null="true"
     *         
     */
    public String getYsjcDm() {
        return this.ysjcDm;
    }

    public void setYsjcDm(String ysjcDm) {
        this.ysjcDm = ysjcDm;
    }

    /** 
     *            @hibernate.property
     *             column="SJDWBH"
     *             length="50"
     *         
     */
    public String getSjdwbh() {
        return this.sjdwbh;
    }

    public void setSjdwbh(String sjdwbh) {
        this.sjdwbh = sjdwbh;
    }

    /** 
     *            @hibernate.property
     *             column="XZQH_DM"
     *             length="6"
     *         
     */
    public String getXzqhDm() {
        return this.xzqhDm;
    }

    public void setXzqhDm(String xzqhDm) {
        this.xzqhDm = xzqhDm;
    }

    /** 
     *            @hibernate.property
     *             column="DWDZ"
     *             length="80"
     *         
     */
    public String getDwdz() {
        return this.dwdz;
    }

    public void setDwdz(String dwdz) {
        this.dwdz = dwdz;
    }

    /** 
     *            @hibernate.property
     *             column="YZBM"
     *             length="6"
     *         
     */
    public String getYzbm() {
        return this.yzbm;
    }

    public void setYzbm(String yzbm) {
        this.yzbm = yzbm;
    }

    /** 
     *            @hibernate.property
     *             column="DWFZR"
     *             length="30"
     *         
     */
    public String getDwfzr() {
        return this.dwfzr;
    }

    public void setDwfzr(String dwfzr) {
        this.dwfzr = dwfzr;
    }

    /** 
     *            @hibernate.property
     *             column="SHR"
     *             length="30"
     *         
     */
    public String getShr() {
        return this.shr;
    }

    public void setShr(String shr) {
        this.shr = shr;
    }

    /** 
     *            @hibernate.property
     *             column="CWFZR"
     *             length="30"
     *         
     */
    public String getCwfzr() {
        return this.cwfzr;
    }

    public void setCwfzr(String cwfzr) {
        this.cwfzr = cwfzr;
    }

    /** 
     *            @hibernate.property
     *             column="CWFZR_DH"
     *             length="50"
     *         
     */
    public String getCwfzrDh() {
        return this.cwfzrDh;
    }

    public void setCwfzrDh(String cwfzrDh) {
        this.cwfzrDh = cwfzrDh;
    }

    /** 
     *            @hibernate.property
     *             column="DWLXR"
     *             length="30"
     *         
     */
    public String getDwlxr() {
        return this.dwlxr;
    }

    public void setDwlxr(String dwlxr) {
        this.dwlxr = dwlxr;
    }

    /** 
     *            @hibernate.property
     *             column="DWLXR_DH"
     *             length="50"
     *         
     */
    public String getDwlxrDh() {
        return this.dwlxrDh;
    }

    public void setDwlxrDh(String dwlxrDh) {
        this.dwlxrDh = dwlxrDh;
    }

    /** 
     *            @hibernate.property
     *             column="ZHMC"
     *             length="80"
     *         
     */
    public String getZhmc() {
        return this.zhmc;
    }

    public void setZhmc(String zhmc) {
        this.zhmc = zhmc;
    }

    /** 
     *            @hibernate.property
     *             column="KHYH"
     *             length="80"
     *         
     */
    public String getKhyh() {
        return this.khyh;
    }

    public void setKhyh(String khyh) {
        this.khyh = khyh;
    }

    /** 
     *            @hibernate.property
     *             column="LYEZH"
     *             length="50"
     *         
     */
    public String getLyezh() {
        return this.lyezh;
    }

    public void setLyezh(String lyezh) {
        this.lyezh = lyezh;
    }

    /** 
     *            @hibernate.property
     *             column="DWJBJG"
     *             length="50"
     *         
     */
    public String getDwjbjg() {
        return this.dwjbjg;
    }

    public void setDwjbjg(String dwjbjg) {
        this.dwjbjg = dwjbjg;
    }

    /** 
     *            @hibernate.property
     *             column="YHKHSQJBR"
     *             length="30"
     *         
     */
    public String getYhkhsqjbr() {
        return this.yhkhsqjbr;
    }

    public void setYhkhsqjbr(String yhkhsqjbr) {
        this.yhkhsqjbr = yhkhsqjbr;
    }

    /** 
     *            @hibernate.property
     *             column="KHSQJBR_DH"
     *             length="50"
     *         
     */
    public String getKhsqjbrDh() {
        return this.khsqjbrDh;
    }

    public void setKhsqjbrDh(String khsqjbrDh) {
        this.khsqjbrDh = khsqjbrDh;
    }

    /** 
     *            @hibernate.property
     *             column="BZ"
     *             length="400"
     *         
     */
    public String getBz() {
        return this.bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    /** 
     *            @hibernate.property
     *             column="DWZT_BT"
     *             length="1"
     *         
     */
    public String getDwztBt() {
        return this.dwztBt;
    }

    public void setDwztBt(String dwztBt) {
        this.dwztBt = dwztBt;
    }

    /** 
     *            @hibernate.property
     *             column="XTDW_BZ"
     *             length="1"
     *         
     */
    public String getXtdwBz() {
        return this.xtdwBz;
    }

    public void setXtdwBz(String xtdwBz) {
        this.xtdwBz = xtdwBz;
    }

    /** 
     *            @hibernate.property
     *             column="ZT1"
     *             length="50"
     *         
     */
    public String getZt1() {
        return this.zt1;
    }

    public void setZt1(String zt1) {
        this.zt1 = zt1;
    }

    /** 
     *            @hibernate.property
     *             column="ZT2"
     *             length="50"
     *         
     */
    public String getZt2() {
        return this.zt2;
    }

    public void setZt2(String zt2) {
        this.zt2 = zt2;
    }

    /** 
     *            @hibernate.property
     *             column="YBAZHXZ"
     *             length="2"
     *         
     */
	public String getYbazhxz() {
		return ybazhxz;
	}

	public void setYbazhxz(String ybazhxz) {
		this.ybazhxz = ybazhxz;
	}
    /** 
     *            @hibernate.property
     *             column="SFYBRMYHBA"
     *             length="2"
     *         
     */
    public String getSfybrmyhba() {
		return sfybrmyhba;
	}

	public void setSfybrmyhba(String sfybrmyhba) {
		this.sfybrmyhba = sfybrmyhba;
	}
    /** 
     *            @hibernate.property
     *             column="YSBZXT_GBM"
     *             length="50"
     *         
     */
	public String getYsbzxtGbm() {
		return ysbzxtGbm;
	}

	public void setYsbzxtGbm(String ysbzxtGbm) {
		this.ysbzxtGbm = ysbzxtGbm;
	}
    /** 
     *            @hibernate.property
     *             column="YSBZXT_YSM"
     *             length="50"
     *         
     */
	public String getYsbzxtYsm() {
		return ysbzxtYsm;
	}

	public void setYsbzxtYsm(String ysbzxtYsm) {
		this.ysbzxtYsm = ysbzxtYsm;
	}
    
	
    
    public String getXgzfzbBz() {
		return xgzfzbBz;
	}

	public void setXgzfzbBz(String xgzfzbBz) {
		this.xgzfzbBz = xgzfzbBz;
	}

	public String toString() {
        return new ToStringBuilder(this)
            .append("dwbh", getDwbh())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof XtglDwjbxx) ) return false;
        XtglDwjbxx castOther = (XtglDwjbxx) other;
        return new EqualsBuilder()
            .append(this.getDwbh(), castOther.getDwbh())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getDwbh())
            .toHashCode();
    }

}
